# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-isort
_pyname=flake8-isort
pkgver=3.0.0
pkgrel=0
pkgdesc="Extension for flake8 which integrates isort"
options="!check" # No testsuite
url="https://github.com/gforcada/flake8-isort"
arch="noarch"
license="GPL-2.0-only"
depends="py3-flake8 py3-isort"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/f/flake8-isort/flake8-isort-$pkgver.tar.gz"
builddir="$srcdir"/flake8-isort-$pkgver

replaces="py-flake8-isort" # Backwards compatibility
provides="py-flake8-isort=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="bb11563e1cf85f723ea7f03cd6ee2cfc64305f625f8a3e026025f1729979203c07aa7e54ef6a6a28f790fcd3018fe8259b8dad041f06ddde8a51ca21b7b26a3e  flake8-isort-3.0.0.tar.gz"
